package top.lt.lt_ssm.service;

import java.util.List;

import top.lt.lt_ssm.bean.product;

public interface ProductService {
	public List<product> getall();
	
	public int delBypid(int id);
	
	public product getByPid(int pid);
	
	public int updBypid(product pro);
	
	public List<product> getByid(int sid);
	
	public List<product> gatByname(String pname);
	
	public int add(product pro);
}
